Learning Objective
  • Bulding a personal Website for our documentation.
  • Learning GIT through tutorial.
  • Drafting FINAL Project .
  • What you mean by HTML?

    HTML (HyperText Markup Language) is the most basic building block of a Webite. It gives the meaning and structure of web content. Other technologies besides HTML are generally used to describe a web page's appearance/presentation (CSS) or functionality/behavior (JavaScript)[ Ref: wikipedia ]

    The file extension code for HTML formal is .html

    HTML elements are called tags, Usually represented between two angle brackets

    tag describe

    For Building my first website I referred www.w3school.com to learn the basics. It really helped to learn the basics. I even tried my first html coding and stimulated it.

     html learning

    Source Code Editors

    It is a Text editors used to write and edit codes of any programming Language. Several interactive editors are available.I used ‘ NOTEPAD++ as my first code editor. Other notable examples for editors are ATOM, SUBLIME TEXT,TEXTMATE, ULTRAEDIT, VISUAL STUDIO CODE etc.

     html learning

    Later, I switched to Visual Studio (VS) Code editors which seems to me more powerful than NOTEPAD++. Its very interactive, helped me to create my first web.

     html learning

    Learning GIT

    GIT is a free and open source Version control system used for project management. It helps to control and manage files of projects local or centrally over the time. Many tutorials and learning materials are available for GIT. Some are mentioned here.

    Generating A New SSH Key

    We need to install GIT and Generating a SSH Key for files uploading.

    Downloaded GIT from this Link

    Then follow below steps

      1. Open Terminal.(Ctrl + Alt + T)
    
      2. Paste the text below 
    
        $ ssh-keygen -t rsa -b 4096 -C "your email id"
           Enter a file in which to save the key (/Users/you /.ssh/id_rsa): 
          (Press ‘Enter’ to save  in default folder )
    
      3. At the prompt, type a secure passphrase
         Enter passphrase (empty for no passphrase): [Type a passphrase]
         Enter same passphrase again: [Type passphrase again] 
      

    Adding your SSH key to the ssh-agent

    This is for generating new SSH Key.Type following command in terminal

      
  • $ eval "$(ssh-agent -s)"
  • $ ssh-add ~/.ssh/id_rsa
  • Add the SSH key to your GitHub account.(Public)

  • First Copy the SSH key to your clipboard.
  • For this use this sudo gedit ~/.ssh/id_rsa.pub and copy this
  • Now go to the gitlab account given to us by Fabacademy.
  • Click User setting
  • Click SSH and GPG keys
  • Click New SSH key or Add SSH key
  • Give a Title
  • Paste your key into the "Key" field.
  •  SSH key

    Add a global username and global email id

  • Open terminal (Ctrl+Alt+T) and type.
  • git config --global user.name "your username".
  • git config --global user.email your mail id.
  • global user

    Cloning Repository

    We can clone GIT repository locally in our computer.

    cloning

    Uploading the files to Fabacademy class archive

    What ever changes that we have made to documents in our local repository can be 'Pushed' or uploaded to remote GITlab repository. The commands for pushing are

  • git add --all. → this command adds all the files that were changed.
  • git add [filename] → this commmand adds this specific file
  • git commit → this command moves the files I added from my workspace to my local repository
  • git commit -m 'message' → In this command we can add a message to our commit.
  • git push → this pushes the files to the remote repository on GitLab
  • PUSH